<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var arr = [1,2,5,6];
			function cifang(){
				for(i=0;i<arr.length;i++){
					
					var array = new Array;
					var a = arr[i]^2;
					array.push(a);
					document.write(array);
				}
			}
			cifang();
		</script>
	</body>
</html>
